package com.ls.pattern.behavior.strategy;

public class DuckA  extends Duck{
    public DuckA() {
        flyBehavior = new GoodFlyBehavior();
    }

    @Override
    public void display() {
        System.out.println("鸭子A");
    }
}
